home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / dtype / cdt_39_10.lha / cdt / Makefile < prev    next >
Makefile  |  1995-05-10  |  2KB  |  85 lines

  1. #
  2. # $PROJECT: c.datatype
  3. #
  4. # $VER: Makefile 39.1 (18.03.95)
  5. #
  6. # by
  7. #
  8. # Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
  9. #
  10. # (C) Copyright 1995
  11. # All Rights Reserved !
  12. #
  13. # $DESCRIPTION:
  14. #
  15. # If you want to recompile the datatype you have to do some initial work, to
  16. # run this makefile !
  17. # First you must have installed the ixemul.library and the gnu make utility !
  18. # Second you have to set the VERSION,REVISION variables (In my environment it's
  19. # automatically set). Then you have to install the include makefiles from
  20. # misc/*.mk to gnu:share/gmk/. After this you need a assign called objs: to
  21. # hold all object files ! I use also a modified version of the bison.simple
  22. # file (see in misc/bison.simple) !
  23. # Now you can run make from this directory !
  24. #
  25. # $HISTORY:
  26. #
  27. # 18.03.95 : 039.001 : initial
  28. #
  29.  
  30. VERSTR     = $(VERSION).$(REVISION)
  31. NAME       = c
  32. SHNAME     = cdt
  33. SHORT      = $(NAME).datatype highlights c/c++ keywords etc.
  34. PLACE      = util/dtype
  35. README     = Readme
  36.  
  37. RELEASE    = $(NAME)dt_$(VERSTR).lha
  38. RELEASEPAT = $(NAME)dt $(NAME)dt.info
  39.  
  40.  
  41. ##############################################################################
  42. #
  43. # just call the makefile in source for each cpu in CPUTOMAKE
  44. #
  45.  
  46. CPUTOMAKE = 000 \
  47.                 020
  48.  
  49. ##############################################################################
  50. #
  51. # docs and guides
  52. #
  53.  
  54. AUTODOCS = doc/$(NAME)_dtc.doc
  55. GUIDE    = help/$(NAME)_dtc
  56.  
  57. ##############################################################################
  58. #
  59. # source
  60. #
  61.  
  62. SRCS     = source/dispatch.c
  63.  
  64.  
  65. all:: cpuversions
  66.  
  67. cpuversions::
  68.     -@for i in $(CPUTOMAKE); \
  69.     do \
  70.         (cd source; echo "making 68$$i version of $(NAME).datatype"; \
  71.          make LIBSDEST='/Classes/datatypes/$(NAME).datatype.'$$i \
  72.                 SCOPTIMIZE='OPT OPTTIME CPU=68'$$i \
  73.                 OBJDIR='/objs/$(SHNAME)/rls'$$i \
  74.                 DEBUG='' ) ; \
  75.     done
  76.  
  77. documentation:: $(AUTODOCS) $(GUIDE)
  78.  
  79. include /gnu/share/gmk/autodoc.mk
  80.  
  81. release: $(RELEASE)
  82.  
  83. include /gnu/share/gmk/release.mk
  84.  
  85.